if (this.process == null) {
throw new IllegalStateException("Instance not started");
}
this.process.destroy();
}
public synchronized void destroy() throws Exception {
}
// Try a clean shutdown
cleanShutdown();
if (this.process != null) {
this.process.destroy();
}
}